View Issue Details

IDProjectCategoryView StatusLast Update
0001474T99X171.00 SKB EagleSW Issuepublic2024-04-19 08:31
Reporter(ALTech) Younkwang Jung Assigned To(ALTech) Younkwang Jung Due Date
PriorityhighSeveritys4-minorReproducibilityhave not tried
Status closedResolutionnot fixable 
Summary0001474: [Smart3][BTF][BMT] BT no sound issue
DescriptionHi Kerwin

Smart3 BMT testing in progress.
During the test as below, an issue was observed that the BT did not output audio

STB : BFX-AT100,
F/W : 15.533.6-0000
WEB : 5.3.3.089 (STG)
H/E : PRD
BT device : Samsung EO-SG930
jira : https://jira.skbroadband.com/browse/BTVQ-32766

[Reproduction step ]
0. Bluetooth Speaker <-> STB Pairing Status
1. Check sound output on Live channel
2. Run the ZEM Kids app using the RCU ZEM key button
3. Exit the Jam Kids app
   ==> STB is playing live channels, but there is no sound on BT device.

It's not always reproduced, but it's only been reproduced once during the BMT test.
If you look at the log, the A2DP playing state is constantly changing with underflow event

Please check this issue

Thank you
YK.Jung
TagsNo tags attached.
Attach Tags

Users monitoring this issue

User List (ALTech) JunGyu Kim , (ALTech) SY Yoon , (SW) Brent Choi

Activities

(ALTech) Younkwang Jung

2022-05-09 08:18

developer  

(ALTech) Younkwang Jung

2022-05-10 08:47

developer   ~0009988

Hi Kerwin

This issue was observed during BMT.
so quick update is required.
Please check it

Thank you
YK.Jung

(SW) Kerwin Chen

2022-05-10 11:23

developer   ~0009989

Hi YK,

I think it is better to have Amlogic RD to check about "a2dp_out_write_new" function.
"a2dp_out_write_new" is the function to write audio data to BT stack.
Without data feeding from here, BT stack will say "underflow".
 
In 'a2dp_out_write_new()', if BluetoothStreamState is not in STARTED, there will be no data write to BT stack.

========= a2dp_hal.cpp ===========
a2dp_out_write_new() {
....
if (state != BluetoothStreamState::STARTED)
    ......
        return totalWritten;
    }
.....
}

=======BluetoothStreamState ===========================================
in system/bt/audio_bluetooth_hw/stream_apis.h
....
enum class BluetoothStreamState : uint8_t {
  DISABLED = 0, // This stream is closing or set param "suspend=true"
  STANDBY,
  STARTING,
  STARTED,
  SUSPENDING,
  UNKNOWN,
};

(ALTech) Younkwang Jung

2022-05-10 12:39

developer   ~0009990

HI Kerwin

Ok , I sent this information to Amlogic FAE
I will let you know when I get feedback from Amlogic

Thank you
YK.Jung

(ALTech) Younkwang Jung

2024-04-19 08:31

developer   ~0015494

Hi Kerwin

SKB confirmed that this issue is not reproduced as a one-time issue
the JIRA was closed , so I will close this ticket.

Thank you
YK.Jung

Issue History

Date Modified Username Field Change
2022-05-09 08:18 (ALTech) Younkwang Jung New Issue
2022-05-09 08:18 (ALTech) Younkwang Jung Status new => assigned
2022-05-09 08:18 (ALTech) Younkwang Jung Assigned To => (SW) Kerwin Chen
2022-05-09 08:18 (ALTech) Younkwang Jung File Added: BFX-AT100_20220506-093600.zip
2022-05-09 08:19 (ALTech) Younkwang Jung Issue Monitored: (ALTech) SY Yoon
2022-05-09 08:19 (ALTech) Younkwang Jung Issue Monitored: (ALTech) JunGyu Kim
2022-05-09 08:19 (ALTech) Younkwang Jung Issue Monitored: (SW) Brent Choi
2022-05-10 08:47 (ALTech) Younkwang Jung Note Added: 0009988
2022-05-10 11:23 (SW) Kerwin Chen Note Added: 0009989
2022-05-10 11:23 (SW) Kerwin Chen Assigned To (SW) Kerwin Chen => (ALTech) Younkwang Jung
2022-05-10 11:23 (SW) Kerwin Chen Status assigned => acknowledged
2022-05-10 12:39 (ALTech) Younkwang Jung Note Added: 0009990
2024-04-19 08:31 (ALTech) Younkwang Jung Note Added: 0015494
2024-04-19 08:31 (ALTech) Younkwang Jung Status acknowledged => closed
2024-04-19 08:31 (ALTech) Younkwang Jung Resolution open => not fixable